04. 测试总概率

总概率

使用上一节的代码,也可以仅使用纸和笔,来回答以下问题。

阳性检测

QUESTION:

给定以下值时,结果为阳性的概率是多少:
p_disease = 0.2 p_pos_given_disease= 0.6 ,并且 p_pos_given_no_disease= 0.6

SOLUTION:

NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer